package com.xxx.shiro.dao;

import com.xxx.shiro.entity.CacheRole;

/**
 * <p>User: Zhang Kaitao
 * <p>Date: 14-1-28
 * <p>Version: 1.0
 */
public interface CacheRoleDao {

    public CacheRole createRole(CacheRole role);
    public void deleteRole(Long roleId);

    public void correlationPermissions(Long roleId, Long... permissionIds);
    public void uncorrelationPermissions(Long roleId, Long... permissionIds);

}
